Functions > PIC2List Functions > PIC2List PNGText Packet Functions |
The P2PktPngText structure is defined as:
Copy Code | |
---|---|
typedef struct { BYTE Type; DWORD Length; char Key[80]; // including null terminator char Text[1]; } P2PktPngText; |
Copy Code | |
---|---|
P2PktPngText* P2LAddPngText(P2LIST* p2l, const char* Key, DWORD Len, const char* Text) |
Add a PngText PIC2List packet with Key and Text. Key is null-terminated and Text has length Len and does not have to be null-terminated. If Text is 0, then space is allocated for Text and 0'ed zero'ed.
Copy Code | |
---|---|
P2PktPngText* P2LFindPngText (const P2LIST* p2l, const char* Key)) |
P2LFindPngText returns a pointer to the first PngText packet packet of key Keyt.
Copy Code | |
---|---|
P2PktPngText* P2LFindNextPngText (const P2LIST* p2l, const P2PktPngText* pkt) |
P2LFindNextPngText a pointer to the next PngText PIC2List packet with the same key as and following pkt.